﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Add_New_Request.aspx.cs" Inherits="admin_Add_New_Request" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="heb"  dir="rtl">
<head runat="server">
    <link rel="shortcut icon" type="image/jpg" href="../images/logo/logo_feas.jpg" />

<title>Real estate</title>

<!--<script type="text/javascript" src="../js/sticky_footer.js"></script>-->
<link rel="stylesheet" type="text/css" href="../css/master.css"/>
<link rel="stylesheet" type="text/css" href="../css/dropBox.css"/>
<link rel="stylesheet" type="text/css" href="../css/menu.css"/>
<link rel="stylesheet" type="text/css" href="../css/tooltip.css"/>
<link rel="stylesheet" type="text/css" href="../css/buttons.css"/>
<link rel="stylesheet" href="../css/validationEngine.jquery.css" type="text/css" media="screen" title="no title" charset="utf-8" />
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css"
        rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script>
   

    
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>

<script type="text/javascript">

    $(document).ready(function () {
        $("student_permanent_address9").hide();
        $("#student_permanent_address1").hide();
        $("#student_permanent_address2").hide();
        $("#student_permanent_address3").hide();
        $("#student_permanent_address4").hide();
        $("#student_permanent_address5").hide();
        $("#student_permanent_address6").hide();
        $("#student_permanent_address7").hide();
        $("#student_permanent_address8").hide();
        $("#Div1").hide();
        $("#txtchooseaddress").change(function () {

            var x = $(this).val();

            if (x == "Select") {

                $("#student_permanent_address1").hide();
                $("#student_permanent_address2").hide();
                $("#student_permanent_address3").hide();
                $("#student_permanent_address4").hide();
                $("#student_permanent_address5").hide();
                $("#student_permanent_address6").hide();
                $("#student_permanent_address7").hide();
                $("#student_permanent_address8").hide();

            }
            else {
            }
            if (x == "handled by office") {
                var r = confirm("you want to move to Archieve");
                if (r == true) {
                    $("#student_permanent_address1").show();
                    $("#student_permanent_address2").hide();
                    $("#student_permanent_address3").hide();
                    $("#student_permanent_address4").hide();
                    $("#student_permanent_address5").hide();
                    $("#student_permanent_address6").hide();
                    $("#student_permanent_address7").hide();
                    $("#student_permanent_address8").hide();
                }
                else {
                    $("#student_permanent_address1").hide();
                    $("#student_permanent_address2").hide();
                    $("#student_permanent_address3").hide();
                    $("#student_permanent_address4").hide();
                    $("#student_permanent_address5").hide();
                    $("#student_permanent_address6").hide();
                    $("#student_permanent_address7").hide();
                    $("#student_permanent_address8").hide();
                }

                //                window.open('popup.aspx', "handled by office", 'height=300,width=300,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,left=430,top=23');
                //                window.focus();

                //                window.location.href = 'addtask';

            }
            else if (x == "signed and handled by office") {
                var r = confirm("you want to move to Archieve");
                if (r == true) {
                    $("#student_permanent_address2").show();
                    $("#student_permanent_address1").hide();

                    $("#student_permanent_address3").hide();
                    $("#student_permanent_address4").hide();
                    $("#student_permanent_address5").hide();
                    $("#student_permanent_address6").hide();
                    $("#student_permanent_address7").hide();
                    $("#student_permanent_address8").hide();
                }
                else {
                    $("#student_permanent_address2").hide();
                    $("#student_permanent_address1").hide();

                    $("#student_permanent_address3").hide();
                    $("#student_permanent_address4").hide();
                    $("#student_permanent_address5").hide();
                    $("#student_permanent_address6").hide();
                    $("#student_permanent_address7").hide();
                    $("#student_permanent_address8").hide();
                }
            }
            else if (x == "advanced negotiation") {
                var r = confirm("you want to move to Archieve");
                if (r == true) {
                    $("#student_permanent_address3").show();
                    $("#student_permanent_address1").hide();
                    $("#student_permanent_address2").hide();

                    $("#student_permanent_address4").hide();
                    $("#student_permanent_address5").hide();
                    $("#student_permanent_address6").hide();
                    $("#student_permanent_address7").hide();
                    $("#student_permanent_address8").hide();
                }
                else {
                    $("#student_permanent_address3").hide();
                    $("#student_permanent_address1").hide();
                    $("#student_permanent_address2").hide();

                    $("#student_permanent_address4").hide();
                    $("#student_permanent_address5").hide();
                    $("#student_permanent_address6").hide();
                    $("#student_permanent_address7").hide();
                    $("#student_permanent_address8").hide();
                }
            }
            else if (x == "freezed") {
                var r = confirm("you want to move to Archieve");
                if (r == true) {
                    $("#student_permanent_address4").show();
                    $("#student_permanent_address1").hide();
                    $("#student_permanent_address2").hide();
                    $("#student_permanent_address3").hide();

                    $("#student_permanent_address5").hide();
                    $("#student_permanent_address6").hide();
                    $("#student_permanent_address7").hide();
                    $("#student_permanent_address8").hide();
                }
                else {
                    $("#student_permanent_address4").hide();
                    $("#student_permanent_address1").hide();
                    $("#student_permanent_address2").hide();
                    $("#student_permanent_address3").hide();

                    $("#student_permanent_address5").hide();
                    $("#student_permanent_address6").hide();
                    $("#student_permanent_address7").hide();
                    $("#student_permanent_address8").hide();
                }

            }
            else if (x == "not interested") {
                var r = confirm("you want to move to Archieve");
                if (r == true) {

                    $("#student_permanent_address5").show();
                    $("#student_permanent_address1").hide();
                    $("#student_permanent_address2").hide();
                    $("#student_permanent_address3").hide();
                    $("#student_permanent_address4").hide();

                    $("#student_permanent_address6").hide();
                    $("#student_permanent_address7").hide();
                    $("#student_permanent_address8").hide();
                }
                else {
                    $("#student_permanent_address5").hide();
                    $("#student_permanent_address1").hide();
                    $("#student_permanent_address2").hide();
                    $("#student_permanent_address3").hide();
                    $("#student_permanent_address4").hide();

                    $("#student_permanent_address6").hide();
                    $("#student_permanent_address7").hide();
                    $("#student_permanent_address8").hide();
                }
            }
            else if (x == "canceled") {
                var r = confirm("you want to move to Archieve");
                if (r == true) {
                    $("#student_permanent_address6").show();
                    $("#student_permanent_address1").hide();
                    $("#student_permanent_address2").hide();
                    $("#student_permanent_address3").hide();
                    $("#student_permanent_address4").hide();
                    $("#student_permanent_address5").hide();

                    $("#student_permanent_address7").hide();
                    $("#student_permanent_address8").hide();
                }
                else {
                    $("#student_permanent_address6").hide();
                    $("#student_permanent_address1").hide();
                    $("#student_permanent_address2").hide();
                    $("#student_permanent_address3").hide();
                    $("#student_permanent_address4").hide();
                    $("#student_permanent_address5").hide();

                    $("#student_permanent_address7").hide();
                    $("#student_permanent_address8").hide();
                }
            }
            else if (x == "unknown") {
                var r = confirm("you want to move to Archieve");
                if (r == true) {
                    $("#student_permanent_address7").show();
                    $("#student_permanent_address1").hide();
                    $("#student_permanent_address2").hide();
                    $("#student_permanent_address3").hide();
                    $("#student_permanent_address4").hide();
                    $("#student_permanent_address5").hide();
                    $("#student_permanent_address6").hide();

                    $("#student_permanent_address8").hide();
                }
                else {
                    $("#student_permanent_address7").hide();
                    $("#student_permanent_address1").hide();
                    $("#student_permanent_address2").hide();
                    $("#student_permanent_address3").hide();
                    $("#student_permanent_address4").hide();
                    $("#student_permanent_address5").hide();
                    $("#student_permanent_address6").hide();

                    $("#student_permanent_address8").hide();
                }

            }
            else if (x == "transaction signed") {
                var r = confirm("you want to move to Archieve");
                if (r == true) {
                    $("#student_permanent_address8").show();
                    $("#student_permanent_address1").hide();
                    $("#student_permanent_address2").hide();
                    $("#student_permanent_address3").hide();
                    $("#student_permanent_address4").hide();
                    $("#student_permanent_address5").hide();
                    $("#student_permanent_address6").hide();
                    $("#student_permanent_address7").hide();
                }
                else {

                    $("#student_permanent_address8").hide();
                    $("#student_permanent_address1").hide();
                    $("#student_permanent_address2").hide();
                    $("#student_permanent_address3").hide();
                    $("#student_permanent_address4").hide();
                    $("#student_permanent_address5").hide();
                    $("#student_permanent_address6").hide();
                    $("#student_permanent_address7").hide();
                }

            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {

        $("#DropDownList2").change(function () {

            var x = $(this).val();

            if (x == "Custom Category") {
                alert("");
                $("#Div1").show();

            }


        }

        );
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#Div19").hide();
        $("#DropDownList28").change(function () {

            var x = $(this).val();

            if (x == "Custom type") {
                $("#Div19").show();
            }
            else {
                $("#Div19").hide();
            }

        });
    });
</script>  <style>
    #content 
    {
        	min-height:550px;
	background-color: #FFFFFF;
	background-image: url(../images/bg/contentbg.png);
	min-width: 82%;
	margin-right:221px;
	height:100%;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
    }
    #leftcolumn {
	float: right;
	width: 220px;
	margin-left: -100%;
	min-height:550px;
	background-color: #FFF;
	background-image: url(../images/bg/sidebarbg.png);
	
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
	height:100%;
	
}
    </style>
</head>

<body>
    <form id="form_std_register" class="form_control" runat="server">
   <div id="wrapper">
       <asp:ScriptManager ID="ScriptManager1" runat="server">
       </asp:ScriptManager>
<div id="header"><a href="#"> <img src="../images/logo/logo_feas.png" alt="Logo" style="margin-top:7px;margin-left:7px;float:left;"> <img src="../images/logo/logo_feas2.png" alt="Logo" class="logo"></a>
    <div id="metaphors" align="right">
     
      
      <li id="btntheme"><a href="#"><span class="theme_icon"></span>Theme<span class="arrow"></span></a></li>
      <img src="../images/face1.png" class="user_icon">
      <li id="btnUser"><a href="#">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:label ID="Label1" runat="server" text="Label"></asp:label><span class="arrow"></span></a></li>
    <li><span class="logout_icon"></span>
       <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Logout</asp:LinkButton></li>
      <div id="box3" class="outerbox">
        <div id="box_inner3" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">email</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">email</div>
        </div>
      </div>
      <div id="box2" class="outerbox">
        <div id="box_inner3" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">alert</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">alert</div>
        </div>
      </div>
      <div id="box1" class="outerbox">
        <div id="box_inner1" class="innerbox">
          <div class="user_option1">
            <h4 class="opt_heading">Menu Bar</h4>
            <span id="show_menu" class="style">on</span><span id="hide_menu" class="style2">off</span></div>
        </div>
      </div>
      <div id="box" class="outerbox">
        <div id="box_inner" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">Edit Profile</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">Change Password</div>
        </div>
      </div>
    </div>
    <!--End of the metaphor tag--> 
    
  </div>
  <!--End of the Header tag-->
  <div id="contentliquid">
    <div id="content">
      <div id="titalbar">
        <h1>Request Details</h1>
       
      </div>
      <div id="content_placeholder">
       <div id="Div5" class="form_placeholder_std">
            <div id="Div6" class="form_title"><img src="../images/icons/user.png">
              <h2>Search</h2>
            </div>
               <table>
              <tr>
                <td >Client Id <span style="color:#F00;"></span></td>
                <td>
                    &nbsp;<asp:DropDownList ID="DropDownList3" runat="server" 
                        DataSourceID="SqlDataSource1" DataTextField="c_id" DataValueField="c_id" 
                        AutoPostBack="True">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:real_estateConnectionString %>" 
                        SelectCommand="SELECT [c_id] FROM [client_add1]"></asp:SqlDataSource>
                </td>
                <td >Cleint Name<span style="color:#F00;"></span></td>
                <td>&nbsp;<asp:DropDownList ID="DropDownList5" runat="server" 
                        DataSourceID="SqlDataSource2" DataTextField="f_name" 
                        DataValueField="f_name" AutoPostBack="True">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:real_estateConnectionString %>" 
                        SelectCommand="SELECT [f_name] FROM [client_add1] WHERE ([c_id] = @c_id)">
                        <SelectParameters>
                            <asp:ControlParameter ControlID="DropDownList3" Name="c_id" 
                                PropertyName="SelectedValue" Type="String" />
                        </SelectParameters>
                    </asp:SqlDataSource>
                </td>
                <tr>
                <td>
                 <h1><strong> To add new client &nbsp<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="../admin/add_new_client.aspx">Click here </asp:HyperLink></strong> </h1>
                </td>
                </tr>
              </table>
              
          
          </div>
         
		   <div id="Div7" class="form_placeholder_std" style="margin-top:0;border-top:none;">
             <div id="Div8" class="form_title"><img src="../images/icons/email.png">
              <h2> Results</h2>
            </div>
          
                
            
            
        
            <div>
              
                <asp:GridView ID="gvUserInfo" runat="server" AllowPaging="True" 
                    AutoGenerateColumns="False" DataSourceID="SqlDataSource5" 
                    CssClass="mGrid" >
                    <Columns>
                        <asp:BoundField DataField="f_name" HeaderText="Client Name" 
                            SortExpression="f_name" />
                        <asp:BoundField DataField="c_type" HeaderText="CLient Type" 
                            SortExpression="c_type" />
      
                    </Columns>
                </asp:GridView>
              
                <asp:SqlDataSource ID="SqlDataSource5" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:real_estateConnectionString %>" 
                    
                    SelectCommand="SELECT [f_name], [c_type] FROM [client_add1] WHERE ([c_id] = @c_id)">
                    <SelectParameters>
                        <asp:ControlParameter ControlID="DropDownList3" Name="c_id" 
                            PropertyName="SelectedValue" Type="String" />
                    </SelectParameters>
                </asp:SqlDataSource>
              
                <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:real_estateConnectionString %>" 
                    
                    
                    SelectCommand="SELECT [c_id], [f_name], [wants] FROM [client_add1] WHERE ([c_id] = @c_id)">
                    <SelectParameters>
                        <asp:ControlParameter ControlID="DropDownList3" Name="c_id" 
                            PropertyName="SelectedValue" Type="String" />
                    </SelectParameters>
                </asp:SqlDataSource>
              
               </div>
          </div>
          <div id="student_add" class="form_placeholder_std">
            <div id="student_title" class="form_title"><img src="../images/icons/user.png">
              <h2>Floor Information-With Elavator</h2>
            </div>
            <table>
              
              <tr>
                <td>From</td>
                <td><asp:TextBox ID="txtfrom1" runat="server" 
                      CssClass="validate[optional]" 
                        ClientIDMode="Static"></asp:TextBox></td>
                <td>Upto<span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtupto1" runat="server" 
                        CssClass="validate[optional]" 
                        ClientIDMode="Static"></asp:TextBox></td>
                </tr>
                
            </table>
 <div id="student_title" class="form_title"><img src="../images/icons/user.png">
              <h2>Floor Information-Without Elavator</h2>
            </div>
            <table>
              <tr>
                <td>From</td>
                <td><asp:TextBox ID="txtfrom" runat="server" 
                        CssClass="validate[optional]" 
                        ClientIDMode="Static"></asp:TextBox></td>
                <td>Upto<span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtupto" runat="server" 
                        CssClass="validate[optional]" 
                        ClientIDMode="Static"></asp:TextBox></td>
                </tr>
           
            </table>
          </div>

          <div id="student_current_address" class="form_placeholder_std" style="margin-top:0;border-top:none;">
            <div id="student_title1" class="form_title"><img src="../images/icons/phone.png">
              <h2 style="float:right;">Budget Information</h2>
             
              
            </div>
          <table>
              <tr>
                <td >From <span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="from" runat="server" CssClass="validate[optional]" 
                        ClientIDMode="Static"></asp:TextBox></td>
               
              <tr>
		<td >Upto<span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtupto3" runat="server" CssClass="validate[optional]" 
                        ClientIDMode="Static"></asp:TextBox></td>
                
              </tr>
	     <tr>
                <td >Can be % more than Budget<span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtbudget" runat="server" CssClass="validate[optional]" 
                        ClientIDMode="Static"></asp:TextBox></td>
                
              </tr>
            </table>
          </div>
           <div id="student_education" class="form_placeholder_std" style="margin-top:0;border-top:none;">
            <div id="student_title4" class="form_title"><img src="../images/icons/edu.png">
              <h2>Additional Requirement Details</h2>
            </div>
            <table>
              <tr>
                <td>Storage Room</td>
                <td><asp:DropDownList ID="txtstorage" runat="server" style="float:left;margin-top:5px;margin-left:10px;" CssClass="combobox" >
                     <asp:ListItem>No</asp:ListItem>
                  <asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td>
                  
                <td>Sun Balcony<span style="color:#F00;"></span></td>
                <td><asp:DropDownList ID="txtsunbalcony" runat="server" style="float:left;margin-top:5px;margin-left:10px;" CssClass="combobox" >
                     <asp:ListItem>No</asp:ListItem>
                  <asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td>
                <td>Balcony</td>
                <td><asp:DropDownList ID="txtbalcony" runat="server" style="float:left;margin-top:5px;margin-left:10px;" CssClass="combobox" >
                     <asp:ListItem>No</asp:ListItem>
                  <asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td>
              </tr>
              <tr>
		<td>Parking<span style="color:#F00;"></span></td>
                <td><asp:DropDownList ID="txtparking" runat="server" style="float:left;margin-top:5px;margin-left:10px;" CssClass="combobox" >
                     <asp:ListItem>No</asp:ListItem>
                  <asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td>
                <td>AC<span style="color:#F00;"></span></td>
                <td><asp:DropDownList ID="txtac" runat="server" style="float:left;margin-top:5px;margin-left:10px;" CssClass="combobox" >
                     <asp:ListItem>No</asp:ListItem>
                  <asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td>
                <td>Shelter<span style="color:#F00;"></span></td>
                <td><asp:DropDownList ID="txtshelter" runat="server" style="float:left;margin-top:5px;margin-left:10px;" CssClass="combobox" >
                     <asp:ListItem>No</asp:ListItem>
                  <asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td>
                
                
              </table>
		</div>
		  <div id="student_permanent_address" class="form_placeholder_std" style="margin-top:0;border-top:none;">
            
			<div id="student_title3" class="form_title"><img src="../images/icons/email.png">
              <h2>Surrounding information</h2>
            </div>
             <table>
              <tr>
          	 <td>Personal Zone<span style="color:#F00;"></span></td>
                <td><asp:DropDownList ID="txtperzone" runat="server" style="float:left;margin-top:5px;margin-left:10px;" CssClass="combobox" >
                     <asp:ListItem>No</asp:ListItem>
                  <asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td>
                <td>Street<span style="color:#F00;"></span></td>
                <td><asp:DropDownList ID="txtstreet" runat="server" style="float:left;margin-top:5px;margin-left:10px;" CssClass="combobox" >
                     <asp:ListItem>No</asp:ListItem>
                  <asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td>
                <td>City<span style="color:#F00;"></span></td>
                <td><asp:DropDownList ID="txtcity" runat="server" style="float:left;margin-top:5px;margin-left:10px;" CssClass="combobox" >
                     <asp:ListItem>No</asp:ListItem>
                  <asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td>
                
               
              </tr>
 		 <tr>
          	 <td>Neighbourhood<span style="color:#F00;"></span></td>
                <td><asp:DropDownList ID="txtnghr" runat="server" style="float:left;margin-top:5px;margin-left:10px;" CssClass="combobox" >
                     <asp:ListItem>No</asp:ListItem>
                  <asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td>
                <td>No Neighbourhood<span style="color:#F00;"></span></td>
                <td><asp:DropDownList ID="txtnongr" runat="server" style="float:left;margin-top:5px;margin-left:10px;" CssClass="combobox" >
                     <asp:ListItem>No</asp:ListItem>
                  <asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td>
                <td>Area<span style="color:#F00;"></span></td>
                <td><asp:DropDownList ID="txtarea" runat="server" style="float:left;margin-top:5px;margin-left:10px;" CssClass="combobox" >
                     <asp:ListItem>No</asp:ListItem>
                  <asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td>
                
               
              </tr>
             
            </table>
		
			  <div id="student_permanent_address" class="form_placeholder_std" style="margin-top:0;border-top:none;">
            
			<div id="student_title3" class="form_title"><img src="../images/icons/email.png">
              <h2>Additional information</h2>
            </div>
             <table>
              <tr>
          	 <td>Comment(Official purpose) <span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtcomment" runat="server" CssClass="validate[optional]" 
                        TextMode="MultiLine" ClientIDMode="Static"></asp:TextBox></td>
                
                
               
              </tr>
 		 <tr>
          	 <td>Transactions Terms<span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtterms" runat="server" CssClass="validate[optional]" 
                        ClientIDMode="Static"></asp:TextBox></td>
                
              
                
               
              </tr>
             
            </table>
         </div>  
	<div id="student_title1" class="form_title"><img src="../images/icons/phone.png">
              <h2 style="float:right;">Category</h2>
              <p style="color:#A00;float:left;"></p>
               <asp:DropDownList ID="txtchooseaddress" runat="server" 
            style="float:left;margin-top:5px;margin-left:10px;" CssClass="combobox" 
            onChange="show_pnl()" ClientIDMode="Static" AutoPostBack="True">
                 
                  <asp:ListItem>handled by office</asp:ListItem>
                  <asp:ListItem>signed and handled by office</asp:ListItem>
                  <asp:ListItem>advanced negotiation</asp:ListItem>
                  <asp:ListItem>freezed</asp:ListItem>
                      <asp:ListItem>canceled</asp:ListItem>
                        <asp:ListItem>unknown</asp:ListItem>
                         <asp:ListItem>transaction signed</asp:ListItem>
                  </asp:DropDownList>
 
            </div>  
          </div>
           <div id="student_permanent_address1" class="form_placeholder_std" style="margin-top:0;border-top:none;">
             <div id="student_title3" class="form_title"><img src="../images/icons/email.png">
              <h2>Renew</h2>
            </div>
               
            <table>
              <tr>
                <td >Date to Renew <span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtcat1" runat="server" ClientIDMode="Static"   Width="200" placeholder="yyyy-dd--mm" CssClass ="validate[optional,custom[date]]"></asp:TextBox></td>
           </tr>
           <tr>
            <td >Fast Update/Reminder <span style="color:#F00;"></span></td>
                <td><asp:DropDownList ID="DropDownList2" runat="server" 
            style="float:left;margin-top:5px;margin-left:10px;" CssClass="combobox" 
                    onChange="show_pnl1()" ClientIDMode="Static" AutoPostBack="True">

                   <asp:ListItem>Select</asp:ListItem>
                  <asp:ListItem>Immediately handled</asp:ListItem>
                  <asp:ListItem>Call</asp:ListItem>
                  <asp:ListItem>No Answer</asp:ListItem>
                  <asp:ListItem>Update</asp:ListItem>
                      <asp:ListItem>Call back</asp:ListItem>
                        <asp:ListItem>Custom Category</asp:ListItem>
                        
                  </asp:DropDownList></td>
           </tr>
             			 
            </table>
               
			
          </div>

           <div id="student_permanent_address2" class="form_placeholder_std" style="margin-top:0;border-top:none;">
             <div id="student_title3" class="form_title"><img src="../images/icons/email.png">
              <h2>Renew</h2>
            </div>
            <table>
              <tr>
                <td >Date to renew <span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtcat2" runat="server" ClientIDMode="Static"  Width="200" placeholder="yyyy-dd--mm" CssClass ="validate[optional,custom[date]]" ></asp:TextBox></td>
               
              			 
            </table>
			
          </div>

           <div id="student_permanent_address3" class="form_placeholder_std" style="margin-top:0;border-top:none;">
             <div id="student_title3" class="form_title"><img src="../images/icons/email.png">
              <h2>Renew</h2>
            </div>
            <table>
              <tr>
                <td >Date to renew <span style="color:#F00;"></span></td>
               
                <td><asp:TextBox ID="txtcatname3" runat="server" ClientIDMode="Static" Width="200"  placeholder="yyyy-dd--mm" CssClass ="validate[optional,custom[date]]" ></asp:TextBox></td>
              
              			   
            </table>
			
          </div>

           <div id="student_permanent_address4" class="form_placeholder_std" style="margin-top:0;border-top:none;">
             <div id="student_title3" class="form_title"><img src="../images/icons/email.png">
              <h2>Renew</h2>
            </div>
            <table>
              <tr>
                <td >Date to renew<span style="color:#F00;"></span></td>
               
              <td><asp:TextBox ID="catgname4" runat="server" ClientIDMode="Static"  Width="200" placeholder="yyyy-dd--mm" CssClass ="validate[optional,custom[date]]" ></asp:TextBox></td>
             
              			 
            </table>
			
          </div>

           <div id="student_permanent_address5" class="form_placeholder_std" style="margin-top:0;border-top:none;">
             <div id="student_title3" class="form_title"><img src="../images/icons/email.png">
              <h2>Renew</h2>
            </div>
            <table>
              <tr>
                <td >Date to renew<span style="color:#F00;"></span></td>
               
              	  <td><asp:TextBox ID="txtcat5" runat="server" ClientIDMode="Static"  placeholder="yyyy-dd--mm" CssClass ="validate[optional,custom[date]]" ></asp:TextBox></td>
      
              			 
            </table>
			
          </div>

           <div id="student_permanent_address6" class="form_placeholder_std" style="margin-top:0;border-top:none;">
             <div id="student_title3" class="form_title"><img src="../images/icons/email.png">
              <h2>Renew/h2>
            </div>
            <table>
              <tr>
                <td >Date to renew <span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtcat6" runat="server" ClientIDMode="Static" placeholder="yyyy-dd--mm" CssClass ="validate[optional,custom[date]]" ></asp:TextBox></td>
              
              			  
            </table>
			
          </div>

           <div id="student_permanent_address7" class="form_placeholder_std" style="margin-top:0;border-top:none;">
             <div id="student_title3" class="form_title"><img src="../images/icons/email.png">
              <h2>Renew</h2>
            </div>
            <table>
              <tr>
                <td >Date to renew<span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtcatg7" runat="server" ClientIDMode="Static" placeholder="yyyy-dd--mm" CssClass ="validate[optional,custom[date]]" ></asp:TextBox></td>
              
              		
            </table>
			
          </div>

           <div id="student_permanent_address8" class="form_placeholder_std" style="margin-top:0;border-top:none;">
             <div id="student_title3" class="form_title"><img src="../images/icons/email.png">
               <h2>Renew</h2>
            </div>
            <table>
              <tr>
               <td >Date to renew <span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtcat8" runat="server" placeholder="yyyy-dd--mm" CssClass ="validate[optional,custom[date]]"></asp:TextBox></td>
                 
              </table>
              			 
          
              
          </div>
                    <div id="Div1" class="form_placeholder_std" style="margin-top:0;border-top:none;">
             <div id="Div2" class="form_title"><img src="../images/icons/email.png">
              <h2>Renew</h2>
            </div>
            <table>
              <tr>
                <td >Date to renew <span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="TextBox1" runat="server" ClientIDMode="Static"  Width="200" placeholder="yyyy-dd--mm" CssClass ="validate[optional,custom[date]]" ></asp:TextBox></td>
               
              			 
            </table>
			
          </div>
           <div id="Div3" class="form_placeholder_std">
            <div id="Div4" class="form_title"><img src="../images/icons/user.png">
              <h2>Task notes</h2>
            </div>
               <table>
              <tr>
                <td >To do <span style="color:#F00;"></span></td>
                <td>
                   <asp:DropDownList ID="DropDownList4" runat="server" 
                        >
             
                       <asp:ListItem>Select</asp:ListItem>
                  <asp:ListItem>handled by office</asp:ListItem>
                  <asp:ListItem>signed and handled by office</asp:ListItem>
                  <asp:ListItem>advanced negotiation</asp:ListItem>
                  <asp:ListItem>freezed</asp:ListItem>
                      <asp:ListItem>canceled</asp:ListItem>
                        <asp:ListItem>unknown</asp:ListItem>
                         <asp:ListItem>transaction signed</asp:ListItem>
                    </asp:DropDownList>
                
                </td>
                   <td >Created on <span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtcreate" runat="server"  placeholder="yyyy-dd--mm"  ReadOnly="True"></asp:TextBox> </td>
                
                <td > Update<span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtupdate" runat="server"  placeholder="yyyy-dd--mm" CssClass ="validate[optional]"></asp:TextBox> </td>
             
                
                <tr>
                     

           
                <td > fast Reminder <span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtreminder" runat="server"  placeholder="yyyy-dd--mm" ></asp:TextBox> </td>
                
                   
               <td > Agent<span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtagent" runat="server" ReadOnly="True" ></asp:TextBox> </td>
                          
               <td >Sec-Agent<span style="color:#F00;"></span></td>
                <td><asp:DropDownList ID="DropDownList6" runat="server" CssClass="combobox " 
                        DataSourceID="SqlDataSource4" DataTextField="f_name" DataValueField="f_name">
                    </asp:DropDownList> 
                    <asp:SqlDataSource ID="SqlDataSource4" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:real_estateConnectionString %>" 
                        SelectCommand="SELECT [f_name] FROM [agent_add]"></asp:SqlDataSource>
                    </td>
                <tr>
            <td> Import Doc <span style="color:#F00;"></span></td>
                <td><asp:FileUpload ID="FileUpload1" runat="server" /> </td>
               
               
           
                <td> Rank <span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtrank" runat="server" ></asp:TextBox> </td>
               <td> Commission <span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtcommsin" runat="server" ></asp:TextBox> </td></tr>
                <td>Referal <span style="color:#F00;"></span></td>
                <td>
                    <asp:TextBox ID="TextBox3" runat="server"  ></asp:TextBox>
                     </td>

                     
                <td>Comment <span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="TextBox4" runat="server"  TextMode ="MultiLine"></asp:TextBox> </td>
             
                 <td>terms <span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="TextBox5" runat="server"  TextMode ="MultiLine"></asp:TextBox> </td>
</tr>   
    <tr>
                <td>Subject</td>
                <td>  <asp:DropDownList ID="DropDownList28" runat="server" 
                     style="float:left;margin-top:0px;margin-left:10px;"   CssClass="combobox"  onChange="show_pnl()"
                     ClientIDMode="Static" >
                    <asp:ListItem>General Update</asp:ListItem>
                   <asp:ListItem>Conversation</asp:ListItem>
                   <asp:ListItem>Meeting has been set</asp:ListItem>
                   <asp:ListItem>set a meeting</asp:ListItem>
                   <asp:ListItem>to call</asp:ListItem>
                   <asp:ListItem>came to office</asp:ListItem>
                   <asp:ListItem>seen</asp:ListItem>
                    <asp:ListItem>Presentation</asp:ListItem>
                   <asp:ListItem>recruit</asp:ListItem>
                   <asp:ListItem>signed</asp:ListItem>
                   <asp:ListItem>exclusivity</asp:ListItem>
                   <asp:ListItem>ended</asp:ListItem>
                   <asp:ListItem>show property</asp:ListItem>
                   <asp:ListItem>send email</asp:ListItem>
                   <asp:ListItem>send sms</asp:ListItem>
                   <asp:ListItem>waiting for payment</asp:ListItem>
                   <asp:ListItem>dont want to pay</asp:ListItem>
                   <asp:ListItem>checked up</asp:ListItem>
                   <asp:ListItem>commision paid</asp:ListItem>
                   <asp:ListItem>open house</asp:ListItem>
                    <asp:ListItem>Joint Venture</asp:ListItem>
                   <asp:ListItem>Custom type</asp:ListItem>
                
		 </asp:DropDownList></td>
               <td>Status<span style="color:#F00;"></span></td>
                <td> <asp:DropDownList ID="DropDownList29" runat="server" 
                     style="float:left;margin-top:0px;margin-left:10px;"   CssClass="combobox" 
                     ClientIDMode="Static" >
                    <asp:ListItem>Rapid</asp:ListItem>
                   <asp:ListItem>Open</asp:ListItem>
                   <asp:ListItem>Completed</asp:ListItem>
           
                
		 </asp:DropDownList></td>  <td>Full Day<span style="color:#F00;"></span></td>
                <td> <asp:DropDownList ID="DropDownList30" runat="server" 
                     style="float:left;margin-top:0px;margin-left:10px;"   CssClass="combobox" 
                     ClientIDMode="Static" >
                    <asp:ListItem>No</asp:ListItem>
                   <asp:ListItem>Yes</asp:ListItem>
                  
                
		 </asp:DropDownList></td> 
              </tr>           </table>
              
          
          </div>
           <div id="Div19" class="form_placeholder_std" style="margin-top:0;border-top:none;">
             <div id="Div20" class="form_title"><img src="../images/icons/email.png">
              <h2>Subject information</h2>
            </div>
            <table>
              <tr>
                <td >Custom Subject  <span style="color:#F00;"></span></td>
                <td><asp:TextBox ID="txtcatname" runat="server" ClientIDMode="Static" CssClass="validate[optional,length[1,20]]"></asp:TextBox></td>
              
                                
            </table>
			
          </div>
	</div>	
         
        
         
          <div id="student_submit" class="form_placeholder_std" style="margin-top:0;border-top:none;border-bottom:none;">
            <div id="student_title4" class="form_title">
              <div style="margin-left:27px;margin-top:2px;">
                <asp:Button ID="Save1" runat="server" Text="Save & Continue" 
                      CssClass="btn btn-success" onclick="Save1_Click" ClientIDMode="Static" />
              <asp:Button ID="Cancel" runat= "server" Text="Cancel" CssClass="btn" 
                      ClientIDMode="Static" />
              </div>
            </div>
        </div> </div> </div>
     </div>
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/jquery-1.8.0.js"></script>
<script type="text/javascript" src="../js/jquery-1.8.0.min.js"></script>
<script src="../js/jquery.validationEngine-en.js" type="text/javascript"></script>
<script src="../js/jquery.validationEngine.js" type="text/javascript"></script>
<script type="text/javascript" src="../js/utility.js"></script>
<!--<script src="../js/jquery.min.js"></script>-->
<script src="../js/bootstrap-modal.js"></script>
<div id="leftcolumn">
 <div id="leftcolumn_top">
     <div id="addtask" class="modal hide fade in" style="display: none; ">
        <div class="modal-header"> <a class="close" data-dismiss="modal">x</a>
          <h1 style="font-size:15px;padding:7px;font-weight:bold;">Notification's</h1>
        </div>
        <div class="modal-body">
        <table id="tbl_task" class="model_popup_desgin">
  <tr>
    <td><p> You have a recent&nbsp;&nbsp&nbsp;&nbsp;update on date</p></td>
  </tr>
  <tr>
     
   
  </tr>
  <tr>
      
  </tr>
  <tr>
    <td></td>
  </tr>
</table>

          
        </div>
        <div class="modal-footer">  
           <p><a data-toggle="modal" href="#addtask1" class="btn btn-success" style="font-weight:bold;"><img src="../images/icons/task.png" style="margin-right:7px;" />View</a></p></div>
      </div>
       <div id="addtask1" class="modal hide fade in" style="display: none; ">
        <div class="modal-header"> <a class="close" data-dismiss="modal">x</a>
          <h1 style="font-size:15px;padding:7px;font-weight:bold;">Notification's</h1>
        </div>
        <div class="modal-body1">
        <table id="Table1" class="model_popup_desgin">
  <tr>
    <td>Date of Creation</td>
    <td><p><asp:Label ID="Label2" runat="server" Text="Label" Visible="False"></asp:Label></p></td>
  </tr>
     <tr>
    <td>Last Updated Updated</td>
    <td><p><asp:Label ID="Label3" runat="server" Text="Label"></asp:Label></p></td>
  <td>Choose Agent</td>
      <asp:DropDownList ID="DropDownList1" runat="server" CssClass ="combobox " 
                Visible="False">
      </asp:DropDownList>
 
     
  <tr>
    <td>Add Another Agente Agent</td>
       <asp:TextBox ID="TextBox2" runat="server" Visible="False"></asp:TextBox>
  </tr>
  <tr>
    <td></td>
  </tr>
</table>

          
        </div>
        <div class="modal-footer">  <asp:Button ID="Button3" runat="server" Text="cancel" CssClass="btn btn-success" />
           </div>
      </div>
      
 </div>
      <ul id="nav" style=" text-align:right">
      <li><a href="dashboard.aspx"><img src="../images/icons/home.png" class="menu_icon">Dashboard</a> </li>    <li><a href="#"><img src="../images/icons/form.png" class="menu_icon">Rent</a>
        <ul>
          <li><a href="report_property_for_rent.aspx"><img src="../images/icons/tabs.png" class="menu_icon">Property To Rent</a></li> <li><a href="search_property_torent.aspx"><img src="../images/icons/tabs.png" class="menu_icon">Client Want To Rent</a></li>
        </ul></li><li><a href="search_buy_property.aspx"><img src="../images/icons/form.png" class="menu_icon">Client Want To Buy</a><li><a href="searh_sell_property.aspx"><img src="../images/icons/form.png" class="menu_icon">Property For Sale</a></li>
      
  <%--    <li><a href="#"><img src="../images/icons/phone.png" class="menu_icon"> Requests Details</a>
        <ul>
          <li><a href="Add_New_Request.aspx"><img src="../images/icons/form.png" class="menu_icon">Requests </a></li>
  
        <li><a href="deleterequest.aspx"><img src="../images/icons/trash.png" class="menu_icon">Delete Requests </a></li>
       
          <li><a href="adminrequestreport.aspx"><img src="../images/icons/pages.png" class="menu_icon">Reports</a></li>
        </ul>
      </li>--%>
          <li><a href="#"><img src="../images/icons/std2.png" class="menu_icon"> Agent</a>
        <ul>
          <li><a href="add_agent.aspx"><img src="../images/icons/plus.png" class="menu_icon">Agent add</a></li>
         
          <li><a href="deleteagent.aspx"> <img src="../images/icons/trash.png" class="menu_icon">Delete Agent</a></li>
          <li><a href="agentreport.aspx"><img src="../images/icons/pages.png" class="menu_icon">Agent Edit/Reports</a></li>
        </ul>
      </li>
  
     <li><a href="admin_notes.aspx"><img src="../images/icons/search.png" class="menu_icon">Action & Activity</a>
    <%--    <ul>
          <li><a href="admin_notes.aspx"><img src="../images/icons/paste.png" class="menu_icon">Notes</a></li>
          
         
           <li><a href="search_tasks.aspx"><img src="../images/icons/notice.png" class="menu_icon">Tasks</a></li>
           <li><a href="Property_Sell_Buy_Rent.aspx"><img src="../images/icons/home.png" class="menu_icon">Property to Sell/Buy/Rent</a></li>
          
        </ul>--%>
      </li>
       <li><a href="#"><img src="../images/icons/id.png" class="menu_icon">Account Details</a>
        <ul>
          <li><a href="admin_account_information.aspx"><img src="../images/icons/id.png" class="menu_icon">Update Account Details</a></li>
         
          
        </ul>
      </li>
    <li style="margin-top:10px" ><iframe src="Admin_Module_small/Calendar.aspx" height="250" width="220" scrolling="no" frameborder="0"></iframe></li>
    <li><a href="dashboard.aspx"><img src="../images/icons/id.png" class="menu_icon"><strong>View Full Calendar</strong></a></li>
    </ul>
  </div>
  


 


   <div id="footer">
    <p> Copyright &copy; 2013. II technology  

</div>
</form>
</body>
</html>